package com.linkvin.ec.hcs.dao.model.mdm;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商品车品牌表
 * </p>
 *
 * @author qichao
 * @since 2017-12-21
 */
@TableName("mdm_v_brand")
public class VBrand extends Model<VBrand> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 品牌-首字母
     */
	@TableField("brand_prefix")
	private String brandPrefix;
    /**
     * 品牌-名称
     */
	@TableField("brand_name")
	private String brandName;
    /**
     * 品牌-国家
     */
	@TableField("brand_nation")
	private String brandNation;
    /**
     * 品牌LOGO的KEY值
     */
	@TableField("brand_logo")
	private String brandLogo;
    /**
     * 备注
     */
	private String comment;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_update")
	private Date gmtUpdate;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBrandPrefix() {
		return brandPrefix;
	}

	public void setBrandPrefix(String brandPrefix) {
		this.brandPrefix = brandPrefix;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getBrandNation() {
		return brandNation;
	}

	public void setBrandNation(String brandNation) {
		this.brandNation = brandNation;
	}

	public String getBrandLogo() {
		return brandLogo;
	}

	public void setBrandLogo(String brandLogo) {
		this.brandLogo = brandLogo;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtUpdate() {
		return gmtUpdate;
	}

	public void setGmtUpdate(Date gmtUpdate) {
		this.gmtUpdate = gmtUpdate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "VBrand{" +
			", id=" + id +
			", brandPrefix=" + brandPrefix +
			", brandName=" + brandName +
			", brandNation=" + brandNation +
			", brandLogo=" + brandLogo +
			", comment=" + comment +
			", gmtCreate=" + gmtCreate +
			", gmtUpdate=" + gmtUpdate +
			"}";
	}
}
